package com.stars.home.vmodel

import android.app.Application
import android.graphics.Color
import android.text.TextUtils
import android.view.View
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.hwangjr.rxbus.RxBus
import com.stars.home.config.ConfigRx
import com.stars.home.model.User
import com.stars.home.utils.net.NetEngine
import com.trailer.base.base.BRRepository
import com.trailer.base.base.BRViewModel
import com.trailer.base.net.IResp
import kotlinx.coroutines.launch

/**
 *
 *on 2020/9/25
 */
class RecordVModel(application: Application) : BRViewModel<BRRepository>(application) {



    override fun apiFunc(): suspend () -> IResp<*> {
        return { NetEngine.service.feedbackList(10, repository().page) }
    }


}
